<?php /* Smarty version Smarty-3.0.7, created on 2013-09-20 10:08:40
         compiled from "./templates/mercari/module/product_options/table_options.html" */ ?>
<?php /*%%SmartyHeaderCode:1279077714523c02883c1bb7-10873664%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd896635b43810ab19d71e9f2b92735b4c12562b2' => 
    array (
      0 => './templates/mercari/module/product_options/table_options.html',
      1 => 1379663763,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1279077714523c02883c1bb7-10873664',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_smarty_tpl->getVariable('options')->value!=''){?>
	<?php  $_smarty_tpl->tpl_vars['options_data'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('options')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['options_data']->key => $_smarty_tpl->tpl_vars['options_data']->value){
?>
		<div class="products_options_bg">
			<table class="products_options">
				<tr class="bbs">
					<?php if ($_smarty_tpl->tpl_vars['options_data']->value['IMAGE']!=''){?>
						<td class="w1 va-t">
							<img src="<?php echo $_smarty_tpl->tpl_vars['options_data']->value['IMAGE'];?>
" <?php echo $_smarty_tpl->tpl_vars['options_data']->value['IMAGE_DIMENSION'];?>
 alt="<?php echo $_smarty_tpl->tpl_vars['options_data']->value['NAME'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['options_data']->value['NAME'];?>
" />
						</td>
					<?php }?>
					<td class="va-t">
						<h3><?php echo $_smarty_tpl->tpl_vars['options_data']->value['NAME'];?>
</h3>
						<?php if ($_smarty_tpl->tpl_vars['options_data']->value['DESC']!=''){?>
							<p><?php echo $_smarty_tpl->tpl_vars['options_data']->value['DESC'];?>
</p>
						<?php }?>
					</td>
				</tr>
			</table>
		  	<table class="products_options">
				<?php  $_smarty_tpl->tpl_vars['item_data'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['options_data']->value['DATA']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['item_data']->total= $_smarty_tpl->_count($_from);
 $_smarty_tpl->tpl_vars['item_data']->iteration=0;
 $_smarty_tpl->tpl_vars['item_data']->index=-1;
if ($_smarty_tpl->tpl_vars['item_data']->total > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item_data']->key => $_smarty_tpl->tpl_vars['item_data']->value){
 $_smarty_tpl->tpl_vars['item_data']->iteration++;
 $_smarty_tpl->tpl_vars['item_data']->index++;
 $_smarty_tpl->tpl_vars['item_data']->first = $_smarty_tpl->tpl_vars['item_data']->index === 0;
 $_smarty_tpl->tpl_vars['item_data']->last = $_smarty_tpl->tpl_vars['item_data']->iteration === $_smarty_tpl->tpl_vars['item_data']->total;
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['aussen']['first'] = $_smarty_tpl->tpl_vars['item_data']->first;
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['aussen']['last'] = $_smarty_tpl->tpl_vars['item_data']->last;
?>
					<tr<?php if (!$_smarty_tpl->getVariable('smarty')->value['foreach']['aussen']['last']){?> class="bbs"<?php }?>>
						<td class="w1 va-t">
							<?php if ($_smarty_tpl->tpl_vars['item_data']->value['HEX_IMAGE']){?>
								<?php echo $_smarty_tpl->tpl_vars['item_data']->value['HEX_IMAGE'];?>

							<?php }elseif($_smarty_tpl->tpl_vars['item_data']->value['IMAGE']!=''){?>
								<img src="<?php echo $_smarty_tpl->tpl_vars['item_data']->value['IMAGE'];?>
" <?php echo $_smarty_tpl->tpl_vars['item_data']->value['IMAGE_DIMENSION'];?>
 alt="<?php echo $_smarty_tpl->tpl_vars['item_data']->value['TEXT'];?>
" />
							<?php }?>
						</td>
						<td class="w1 va-t">
							<input class="option" <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['aussen']['first']){?>checked="checked" <?php }?> type="radio" name="id[<?php echo $_smarty_tpl->tpl_vars['options_data']->value['ID'];?>
]" value="<?php echo $_smarty_tpl->tpl_vars['item_data']->value['ID'];?>
" />
						</td>
						<td class="va-t">
							<b><?php echo $_smarty_tpl->tpl_vars['item_data']->value['TEXT'];?>
</b> <?php if ($_smarty_tpl->tpl_vars['item_data']->value['MODEL']!=''){?><em>Art-Nr.: <?php echo $_smarty_tpl->tpl_vars['item_data']->value['MODEL'];?>
</em><?php }?> <?php echo $_smarty_tpl->tpl_vars['item_data']->value['WEIGHT'];?>

							<?php if ($_smarty_tpl->tpl_vars['item_data']->value['DESC']){?><br /><p><?php echo $_smarty_tpl->tpl_vars['item_data']->value['DESC'];?>
</p><?php }?>
						</td>
						<td class="ta-r va-t">
							<?php if ($_smarty_tpl->tpl_vars['item_data']->value['PRICE']!=''){?>
								<nobr><b><?php echo $_smarty_tpl->tpl_vars['item_data']->value['PREFIX'];?>
 <?php echo $_smarty_tpl->tpl_vars['item_data']->value['PRICE'];?>
</b></nobr>
							<?php }else{ ?>&nbsp;<?php }?> <?php echo $_smarty_tpl->tpl_vars['item_data']->value['STOCK_IMG'];?>

						</td>
					</tr>
				<?php }} ?>
			</table>
		</div>
	<?php }} ?>
<?php }?>